<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" >
    <title>用户信息修改</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <style type="text/css">
        body {
            background-color: rgb(242,242,242);
        }
    </style>
</head>
<body>
<form enctype="multipart/form-data" th:action="@{/updateInformation}" method="post">
    <div class="form-group">
        <label for="exampleInputEmail3">账号</label>
        <input type="text" class="form-control" id="exampleInputEmail3" disabled th:value="${session.visitor.account}" name="account">
    </div>
    <div class="form-group">
        <label for="exampleInputEmail2">用户名</label>
        <input type="text" class="form-control" id="exampleInputEmail2" name="username" th:value="${session.visitor.username}">
    </div>
    <div class="form-group">
        <label for="exampleInputEmail1">邮箱</label>
        <input type="email" class="form-control" id="exampleInputEmail1" th:value="${session.visitor.email}" name="email">
    </div>
    <div class="form-group">
        <label for="exampleInputPassword1">密码</label>
        <input type="password" class="form-control" id="exampleInputPassword1" th:value="${session.visitor.password}" name="password">
    </div>
    <div class="form-group">
        <label for="exampleInputFile">头像</label>
        <input type="file" id="exampleInputFile" name="face">
    </div>
    <input type="submit"  value="submit" style="background-color: #449d44"/>
</form>
</body>
</html>